Minor PCI tweaks to move ever so slightly toward 2.6 and make ia64
(based on 2.6) easier.
u16 cmd;
#ifdef HAVE_ARCH_PCI_MWI
- rc = pcibios_set_mwi(dev);
+ rc = pcibios_prep_mwi(dev);
#else
rc = pci_generic_prep_mwi(dev);
#endif
temp->hdr_type = hdr_type & 0x7f;
dev = pci_scan_device(temp);
- if (!pcibios_scan_all_fns() && func == 0) {
+ if (!pcibios_scan_all_fns(0,0) && func == 0) {
if (!dev)
break;
} else {
#else
#define pcibios_assign_all_busses() 0
#endif
-#define pcibios_scan_all_fns() 0
+#define pcibios_scan_all_fns(a,b) 0
extern unsigned long pci_mem_start;
#define PCIBIOS_MIN_IO 0x1000
this is D0-D3, D0 being fully functional,
and D3 being off. */
+#ifdef LINUX_2_6
+ struct device dev; /* Generic device interface */
+#endif
+
/* device is compatible with these IDs */
unsigned short vendor_compatible[DEVICE_COUNT_COMPATIBLE];
unsigned short device_compatible[DEVICE_COUNT_COMPATIBLE];